package com.xn.example.controller;

import org.springframework.core.SpringVersion;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class FallbackController {

    @RequestMapping("testfallback")
    public String fallback(){
        return "{\\\"msg\\\":\\\"服务降级\\\",\\\"code\\\":200}";
    }



}
